<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:c="http://java.sun.com/jstl/core"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:rg="http://www.ruijie.com.cn/faces/ui"
	template="/member/layout/contentLayout.xhtml">

	<!-- 页面标题 -->
	<ui:param name="param_pageTitle" value="路远商城->修改密码" />
	<ui:param name="changePassword" value="true" />

	<ui:define name="navigation">
		<a href="http://www.luyuansc.com/">路远商城</a> 
		&gt; 
		修改密码
	</ui:define>

	<ui:define name="content">
		<div class="main clear">
			<div class="sidebar">
				<ui:include src="layout/nav.xhtml" />
			</div>
			<div class="middle">
				<h:messages errorClass="msg ERROR" errorStyle="display:none" infoClass="msg INFO" warnClass="msg WARN"></h:messages>
			<h:form>
				<rg:titlePanel type="wirtable" needButton="true" headerTitle="修改密码">
					<rg:fieldSet>
						<rg:inputPassword id="oldPassword" required="true"
							label="#{messages.security_user_oldPassword}"
							value="#{userManagerAction.oldPassword}" />				
						<rg:inputPassword id="password" required="true"
							label="新密码"
							value="#{userManagerAction.model.password}" />
						<rg:inputPassword id="confirmPassword" required="true"
							validator="#{passwordCompareValidator}" 
							label="#{messages.security_user_confirmPassword}"
							value="#{userManagerAction.confirmPassword}" />
					</rg:fieldSet>
					<ui:define name="panelButton">
						<h:commandButton styleClass="button"
							value="修改密码" onclick="UI.instance.showMask()"
							action="#{userManagerAction.updatePassword()}" />
					</ui:define>
				</rg:titlePanel>
			</h:form>
			</div>
		</div>	
	</ui:define>

</ui:composition>